package com.model;
import javax.persistence.*;
import java.util.Date;
import java.math.BigDecimal;
/**
* @author admin
* @date 
*/
@Entity
@Table(name="t_contract",schema = "", catalog = "")
public class TContract{
        private Long id;
        private String name;
        private String contractNo;
        private String projectNo;
        private BigDecimal leasingPrice;
        private BigDecimal actualAmount;
        private BigDecimal firstPaymentRatio;
        private BigDecimal firstPayment;
        private Integer alsoRentWay;
        private Integer repaymentPeriod;
        private Date loanTime;
        private Date liftingDay;
        private BigDecimal cumulativeAmount;
        private BigDecimal totalInterest;
        private BigDecimal interestAte;
        private BigDecimal processingRate;
        private BigDecimal processingAmount;
        private BigDecimal nominalPrice;
        private BigDecimal irr;
        private String remark;
        private Date createTime;
        private Integer isDeleted;
        private Integer repaymentStatus;
        private Integer isAbolition;

        @Id
        @GeneratedValue(strategy = GenerationType.AUTO)
        @Column(name = "id")
        public Long getId() {
        return this.id;
        }

        public void setId(Long id) {
        this.id = id;
        }


        @Column(name = "name")
        public String getName() {
        return this.name;
        }

        public void setName(String name) {
        this.name = name;
        }


        @Column(name = "contract_no")
        public String getContractNo() {
        return this.contractNo;
        }

        public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
        }


        @Column(name = "project_no")
        public String getProjectNo() {
        return this.projectNo;
        }

        public void setProjectNo(String projectNo) {
        this.projectNo = projectNo;
        }



        @Column(name = "leasing_price")
        public BigDecimal getLeasingPrice() {
        return this.leasingPrice;
        }

        public void setLeasingPrice(BigDecimal leasingPrice) {
        this.leasingPrice = leasingPrice;
        }

        @Column(name = "actual_amount")
        public BigDecimal getActualAmount() {
        return this.actualAmount;
        }

        public void setActualAmount(BigDecimal actualAmount) {
        this.actualAmount = actualAmount;
        }

        @Column(name = "first_payment_ratio")
        public BigDecimal getFirstPaymentRatio() {
        return this.firstPaymentRatio;
        }

        public void setFirstPaymentRatio(BigDecimal firstPaymentRatio) {
        this.firstPaymentRatio = firstPaymentRatio;
        }

        @Column(name = "first_payment")
        public BigDecimal getFirstPayment() {
        return this.firstPayment;
        }

        public void setFirstPayment(BigDecimal firstPayment) {
        this.firstPayment = firstPayment;
        }

        @Column(name = "also_rent_way")
        public Integer getAlsoRentWay() {
        return this.alsoRentWay;
        }

        public void setAlsoRentWay(Integer alsoRentWay) {
        this.alsoRentWay = alsoRentWay;
        }

        @Column(name = "repayment_period")
        public Integer getRepaymentPeriod() {
        return this.repaymentPeriod;
        }

        public void setRepaymentPeriod(Integer repaymentPeriod) {
        this.repaymentPeriod = repaymentPeriod;
        }
        @Column(name = "loan_time")
        public Date getLoanTime() {
        return this.loanTime;
        }

        public void setLoanTime(Date loanTime) {
        this.loanTime = loanTime;
        }


        @Column(name = "lifting_day")
        public Date getLiftingDay() {
        return this.liftingDay;
        }

        public void setLiftingDay(Date liftingDay) {
        this.liftingDay = liftingDay;
        }



        @Column(name = "cumulative_amount")
        public BigDecimal getCumulativeAmount() {
        return this.cumulativeAmount;
        }

        public void setCumulativeAmount(BigDecimal cumulativeAmount) {
        this.cumulativeAmount = cumulativeAmount;
        }

        @Column(name = "total_interest")
        public BigDecimal getTotalInterest() {
        return this.totalInterest;
        }

        public void setTotalInterest(BigDecimal totalInterest) {
        this.totalInterest = totalInterest;
        }

        @Column(name = "interest_ate")
        public BigDecimal getInterestAte() {
        return this.interestAte;
        }

        public void setInterestAte(BigDecimal interestAte) {
        this.interestAte = interestAte;
        }

        @Column(name = "processing_rate")
        public BigDecimal getProcessingRate() {
        return this.processingRate;
        }

        public void setProcessingRate(BigDecimal processingRate) {
        this.processingRate = processingRate;
        }

        @Column(name = "processing_amount")
        public BigDecimal getProcessingAmount() {
        return this.processingAmount;
        }

        public void setProcessingAmount(BigDecimal processingAmount) {
        this.processingAmount = processingAmount;
        }

        @Column(name = "nominal_price")
        public BigDecimal getNominalPrice() {
        return this.nominalPrice;
        }

        public void setNominalPrice(BigDecimal nominalPrice) {
        this.nominalPrice = nominalPrice;
        }

        @Column(name = "irr")
        public BigDecimal getIrr() {
        return this.irr;
        }

        public void setIrr(BigDecimal irr) {
        this.irr = irr;
        }
        @Column(name = "remark")
        public String getRemark() {
        return this.remark;
        }

        public void setRemark(String remark) {
        this.remark = remark;
        }


        @Column(name = "create_time")
        public Date getCreateTime() {
        return this.createTime;
        }

        public void setCreateTime(Date createTime) {
        this.createTime = createTime;
        }



        @Column(name = "is_deleted")
        public Integer getIsDeleted() {
        return this.isDeleted;
        }

        public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
        }

        @Column(name = "repayment_status")
        public Integer getRepaymentStatus() {
        return this.repaymentStatus;
        }

        public void setRepaymentStatus(Integer repaymentStatus) {
        this.repaymentStatus = repaymentStatus;
        }

        @Column(name = "is_abolition")
        public Integer getIsAbolition() {
        return this.isAbolition;
        }

        public void setIsAbolition(Integer isAbolition) {
        this.isAbolition = isAbolition;
        }

}